Add a Condition
This page last changed on Feb 26, 2008.
Oracle Data Service Integrator Documentation > Data Services Developer's Guide How To Add a Condition to an Update BlockThis topic describes how to add a condition to an update block in an update map. OverviewIn the update map, you can override an Update block by defining conditions in the expression editor that determine when the block is updated. A Condition in the Expression EditorA condition is a Boolean expression based on XQuery functions and values defined in the update map, for example: fn-bea:value($CUSTOMER/CUSTOMER_ORDER/TOTAL_ORDER_AMT) > 1000 For example, you might have a logical data service with a return type that combines Customer, Order, and CreditRating data. Each customer can have multiple orders and one credit rating. Return Type with Customer, Order, and CreditRating DataExampleIn the update map, you may want to set a condition that a customer's credit rating can only be updated if the customer places an order with an amount greater than 1000.00. To set an update map condition:
See AlsoConceptsHow TosOther Resources |
Document generated by Confluence on Jan 13, 2009 15:57 |